/*****************************************************************************
 *   Copyright 2005 Tim A Wang
 *
 *   Licensed under the Apache License, Version 2.0 (the "License");
 *   you may not use this file except in compliance with the License.
 *   You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *   Unless required by applicable law or agreed to in writing, software
 *   distributed under the License is distributed on an "AS IS" BASIS,
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *   See the License for the specific language governing permissions and
 *   limitations under the License.
 *
 ****************************************************************************/
package com.jb.web.application;

import com.jb.faces.application.StateManager;
import com.jb.faces.application.StateManager.SerializedView;
import com.jb.faces.component.UIViewRoot;
import com.jb.faces.context.FacesContext;


/**
 * Implemetation of StateManager
 */
public class StateManagerImpl extends StateManager {
    /**
     * DOCUMENT ME!
     *
     * @param context DOCUMENT ME!
     * @param viewId DOCUMENT ME!
     * @param renderKitId DOCUMENT ME!
     *
     * @return DOCUMENT ME!
     */
    public UIViewRoot restoreView(FacesContext context, String viewId, String renderKitId) {
        return null;
    }

    /**
     * DOCUMENT ME!
     *
     * @param context DOCUMENT ME!
     *
     * @return DOCUMENT ME!
     */
    public StateManager.SerializedView saveSerializedView(FacesContext context) {
        return null;
    }

    /**
     * DOCUMENT ME!
     *
     * @param context DOCUMENT ME!
     * @param state DOCUMENT ME!
     *
     * @throws java.io.IOException DOCUMENT ME!
     */
    public void writeState(FacesContext context, StateManager.SerializedView state)
        throws java.io.IOException {
    }

    protected Object getComponentStateToSave(FacesContext context) {
        return null;
    }

    protected Object getTreeStructureToSave(FacesContext context) {
        return null;
    }

    protected void restoreComponentState(FacesContext context, UIViewRoot viewRoot, java.lang.String renderKitId) {
    }

    protected UIViewRoot restoreTreeStructure(FacesContext context, String viewId, String renderKitId) {
        return null;
    }
}
